Skip to content

PMM-13448 Support PG17 to provide pre PG17 metrics support.#281

Merged
BupycHuk merged 1 commit intomainfrom
PMM-13448-PG17-compatibility-metrics
Nov 27, 2024
Merged

PMM-13448 Support PG17 to provide pre PG17 metrics support.#281
BupycHuk merged 1 commit intomainfrom
PMM-13448-PG17-compatibility-metrics

Conversation

@BupycHuk
Copy link

No description provided.

@BupycHuk BupycHuk requested review from a team, JiriCtvrtka and ademidoff November 26, 2024 10:43
rows := sqlmock.NewRows(columns).
AddRow(354, 4945, 289097744, 1242257, int64(3275602074), 89320867, 450139, 2034563757, 0, int64(2725688749), srT)
mock.ExpectQuery(sanitizeQuery(statBGWriterQuery)).WillReturnRows(rows)
mock.ExpectQuery(sanitizeQuery(statBGWriterQueryPrePG17)).WillReturnRows(rows)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we cover this change with unit tests for PG >= 17 as well?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a temporary solution until we get proper solution from upstream

@BupycHuk BupycHuk requested review from ademidoff and idoqo November 27, 2024 09:37
@BupycHuk BupycHuk merged commit 5f34fc4 into main Nov 27, 2024
@BupycHuk BupycHuk deleted the PMM-13448-PG17-compatibility-metrics branch November 27, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants